package com.simtop.beefsheepmaching.vo;

import java.util.Date;

/**
 * 对应注册页面中的字段
 */
public class UserVo {
    private String email;
    private String checkCode;//邮箱验证码
    private String newPassword;
    private String confirmPassword;

    private Integer id;//主键id
    private String username;//用户名
    private String loginName;//登录名
    private String password;//登陆密码
    private String mobile;//手机号
    private Integer roleId;//角色id
    private Date createTime;//创建时间
    private Date updateTime;//更新时间
    private String school;//学校
    private String province;//省份
    private String city;//城市
    private String classes;//班级

    private String address;//所在地

    public UserVo() {
    }

    public UserVo(String email, String checkCode, String newPassword, String confirmPassword, Integer id, String username, String loginName, String password, String mobile, Integer roleId, Date createTime, Date updateTime, String school, String province, String city, String classes, String address) {
        this.email = email;
        this.checkCode = checkCode;
        this.newPassword = newPassword;
        this.confirmPassword = confirmPassword;
        this.id = id;
        this.username = username;
        this.loginName = loginName;
        this.password = password;
        this.mobile = mobile;
        this.roleId = roleId;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.school = school;
        this.province = province;
        this.city = city;
        this.classes = classes;
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    @Override
    public String toString() {
        return "UserVo{" +
                "email='" + email + '\'' +
                ", checkCode='" + checkCode + '\'' +
                ", newPassword='" + newPassword + '\'' +
                ", confirmPassword='" + confirmPassword + '\'' +
                ", id=" + id +
                ", username='" + username + '\'' +
                ", loginName='" + loginName + '\'' +
                ", password='" + password + '\'' +
                ", mobile='" + mobile + '\'' +
                ", roleId=" + roleId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", school='" + school + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", classes='" + classes + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
